import api from '../../request'

// 获取详情
function dataByIdApi(data) {
  // return api.get('xt-scy/spTrouble/getInfo', data)
  return api.get('/scy/app/spTrouble/getInfo', data)
}

// 修改隐患
function editApi(data) {
  return api.post('xt-scy/spTrouble/edit', data)
}

module.exports = {
  dataByIdApi,
  editApi,
}
